<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.custom.plm/TR/html4/loose.dtd">
<%@ include file="/resource/jsp/edit_top.jsp"%>
<script language="javascript"
	src="<%=request.getContextPath()%>/resource/js/dialog.js"></script>
<script language="javascript"
	src="<%=request.getContextPath()%>/resource/js/md5.js"></script>
<script>
   $('#updateTime').datetimepicker({   
        showSecond: true,   
        changeMonth: true,   
        changeYear: true,   
        timeFormat: 'hh:mm:ss',   
        dateFormat: 'yy-mm-dd'  
    });
</script>
<c:if test="${methodStyle != 'edit'}">
	<form action="save.do" method="post" id="form1">
	<div id="handlerPanel" class="handlerPanel"><input type="submit"
		value="保存" class="btnGray" onclick="return conMd5();" /></div>
</c:if>
<c:if test="${methodStyle == 'edit'}">
	<form action="update.do" method="post" id="form1">
	<div id="handlerPanel" class="handlerPanel"><input type="submit"
		value="保存" class="btnGray" /></div>
</c:if>
<center>
<h3>中间表人员编辑</h3>
<s:fielderror cssStyle="color:red;" /> 
<table class="tableClass" width="95%">
	<tr>
		<td class="title">工号</td>
		<td><input name="hrPLM.id" type="text" class="inputClass" value="${hrPLM.id}"/></td>
	</tr>
	<tr>
		<td class="title">姓名</td>
		<td><input name="hrPLM.name" type="text" class="inputClass" value="${hrPLM.name}"/></td>
	</tr>
	<tr>
		<td class="title">邮箱</td>
		<td><input name="hrPLM.email" type="text" class="inputClass" value="${hrPLM.email}"/></td>
	</tr>
	<tr>
		<td class="title">组织编码</td>
		<td><input name="hrPLM.unitCode" type="text" class="inputClass" value="${hrPLM.unitCode}"/></td>
	</tr>
	<tr>
		<td class="title">上级组织编码</td>
		<td><input name="hrPLM.orgParentCode" type="text" class="inputClass" value="${hrPLM.orgParentCode}"/></td>
	</tr>
	<tr>
		<td class="title">组织</td>
		<td><input name="hrPLM.unitName" type="text" class="inputClass" value="${hrPLM.unitName}"/></td>
	</tr>
	<tr>
		<td class="title">岗位编码</td>
		<td><input name="hrPLM.jobCode" type="text" class="inputClass" value="${hrPLM.jobCode}"/></td>
	</tr>
	<tr>
		<td class="title">岗位</td>
		<td><input name="hrPLM.jobName" type="text" class="inputClass" value="${hrPLM.jobName}"/></td>
	</tr>
	<tr>
		<td class="title">职级</td>
		<td><input name="hrPLM.jobLevelCode" type="text" class="inputClass" value="${hrPLM.jobLevelCode}"/></td>
	</tr>
	<tr>
		<td class="title">职级名</td>
		<td><input name="hrPLM.jobLevelName" type="text" class="inputClass" value="${hrPLM.jobLevelName}"/></td>
	</tr>
	<tr>
		<td class="title">上级</td>
		<td><input name="hrPLM.leadRole" type="text" class="inputClass" value="${hrPLM.leadRole}"/></td>
	</tr>
	<tr>
		<td class="title">状态</td>
		<td><input name="hrPLM.status" type="text" class="inputClass" value="${hrPLM.status}"/></td>
	</tr>
	<tr>
		<td class="title">更新时间</td>
		<td><input id="updateTime" name="hrPLM.updateTime" type="text" class="inputClass" value="${hrPLM.updateTime}"/></td>
	</tr>
	<tr>
		<td class="title">flag</td>
		<td><input name="hrPLM.hrFlag" type="text" class="inputClass" value="${hrPLM.hrFlag}"/></td>
	</tr>
</table>
</center>
</form>
<%@ include file="/resource/jsp/edit_down.jsp"%>